<?php

namespace App\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Rules
 *
 * @ORM\Table(name="rules")
 * @ORM\Entity
 */
class Rules
{
    /**
     * @var int
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;

    /**
     * @var string
     *
     * @ORM\Column(name="name", type="string", length=255, nullable=true)
     */
    private $name;

    /**
     * @var int
     *
     * @ORM\Column(name="c", type="integer")
     */
    private $c;

    /**
     * @var string
     *
     * @ORM\Column(name="k", type="string", length=255)
     */
    private $k;

    /**
     * @var string
     *
     * @ORM\Column(name="v", type="text")
     */
    private $v;

    /**
     * @var string
     *
     * @ORM\Column(name="tips", type="string", length=255, nullable=true)
     */
    private $tips;


    /**
     * Get id
     *
     * @return int
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set name
     *
     * @param string $name
     *
     * @return Rules
     */
    public function setName($name)
    {
        $this->name = $name;

        return $this;
    }

    /**
     * Get name
     *
     * @return string
     */
    public function getName()
    {
        return $this->name;
    }

    /**
     * Set k
     *
     * @param string $k
     *
     * @return Rules
     */
    public function setK($k)
    {
        $this->k = $k;

        return $this;
    }

    /**
     * Get k
     *
     * @return string
     */
    public function getK()
    {
        return $this->k;
    }

    /**
     * Set v
     *
     * @param string $v
     *
     * @return Rules
     */
    public function setV($v)
    {
        $this->v = $v;

        return $this;
    }

    /**
     * Get v
     *
     * @return string
     */
    public function getV()
    {
        return $this->v;
    }

    /**
     * Set tips
     *
     * @param string $tips
     *
     * @return Rules
     */
    public function setTips($tips)
    {
        $this->tips = $tips;

        return $this;
    }

    /**
     * Get tips
     *
     * @return string
     */
    public function getTips()
    {
        return $this->tips;
    }

    /**
     * Set c
     *
     * @param integer $c
     *
     * @return Rules
     */
    public function setC($c)
    {
        $this->c = $c;

        return $this;
    }

    /**
     * Get c
     *
     * @return integer
     */
    public function getC()
    {
        return $this->c;
    }
}
